<template>
    <div class="noThingTips">
        <div class="tipsBox">
            <div>
                <img src="@/assets/images/icon/nothing.png" />
            </div>
            <div class="tipsText">{{ tipsText }}</div>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        tipsText: {
            type: String,
            default: "当前暂无数据"
        }
    },
    data() {
        return {};
    }
};
</script>

<style scoped lang="scss">
.noThingTips {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    .tipsBox {
        width: 200px;

        img {
            width: 200px;
            height: 200px;
            opacity: 0.5;
        }

        .tipsText {
            color: #c5c5c5;
            font-size: 18px;
            font-weight: 600;
        }
    }
}
</style>
